﻿// Type: trx2html.Parser.TestMethodRun
// Assembly: RidoTasks, Version=0.7.3.1523, Culture=neutral, PublicKeyToken=null
// Assembly location: C:\Users\jigar\Desktop\Vinay\trx2html_0.7\0.7.3\RidoTasks.dll

using System;
using System.Collections.Generic;

namespace trx2html
{
  internal class TestMethodRun : IEqualityComparer<TestMethodRun>
  {
    private string description = string.Empty;
    private string status = string.Empty;

    public string TestClass { get; set; }

    public string TestMethodName { get; set; }

    public string Description
    {
      get
      {
        return this.description;
      }
      set
      {
        this.description = value;
      }
    }

    public string Message { get; set; }

    public TimeSpan Duration { get; set; }

    public string StackTrace { get; set; }

    public string Status { get; set; }

    public ErrorInfo ErrorInfo { get; set; }

    public string ComputerName { get; set; }

    public TestMethodRun()
    {
      this.ErrorInfo = new ErrorInfo();
    }

    public bool Equals(TestMethodRun x, TestMethodRun y)
    {
      return x.TestClass == y.TestClass;
    }

    public int GetHashCode(TestMethodRun obj)
    {
      return base.GetHashCode();
    }
  }
}
